goto

go to another part of the batch file

   goto label
The batch file will jump to the label and continue running from there.

Use goto with the if command to control the flow of batch files.

See Also

batch files
if
Copyright © 2003 Rob Platt
This file forms part of The FreeDOS HTML Help Documentation, and is covered under its terms: see index.htm